//引入公用颜色
@import "../../assets/styles/global.scss";

.container1 {
    height: 100%;
    background: url("../../assets/images/background.gif") no-repeat center bottom / cover;
}

// 登陆框
.loginBox {
    padding: 20px 40px 30px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.205);
    border-radius: 10px;
    position: fixed;
    left: 60%;
    top: 30%;
    margin-left: -500px;
    & > h1 {
        margin: 0 0 6px;
        text-align: center;
        font: normal 1.4rem sans-serif;
        color: #007395;
    }
    & > form {
        & >div>div{
            float: left;
            &> div {
            padding-top: 20px;
            & > label, & > input {
                display: inline-block;
                vertical-align: middle;
            }
            & > label {
                width: 5rem;
                color: $form_font_color;
                text-shadow: 0 1px 0 hsla(0, 0%, 24%, 0.3);
            }
            & > input {
                background-color: rgba(255, 255, 255, 0.8);
                width: 330px;
                &:focus {
                    background-color: rgba(255, 255, 255, 1);
                    }
                }
            }
        }

        .content{
            height: 200px;
        }

        .submitIn {
            width: 250px;
            height: 46px;
            background-color: $theme_color;
            border: none;
            margin-left: 110px;
            border-radius: 10px;
            color: #ffffff;
            &>button{
                width: 250px;
                height: 46px;
                border-radius: 10px;
                text-align: center;
                background-color: $theme_color;
            }
            &:hover {
                background-color: lighten($theme_color, 15%);
            }
            &:active {
                background-color: $theme_color;
            }
        }
    }
}

// 切换登录或注册页面指引文本
.switchLogin {
    p {
        margin: 0.2rem 0;
        color:black;
        font-size: 13px;
        span {
            margin: 0 2px;
            color: $theme_color;
            cursor: pointer;
            &:hover {
                text-decoration: underline;
                color: lighten($theme_color, 15%);
            }
            &:active {
                color: $theme_color;
            }
        }
    }
}

//二维码
.QRcode{
    height: 200px;
    width: 200px;
    float: right;
    &>img{
        margin-left: 25px;
        height: 160px;
        width: 160px;
    }
    &>p{
        color: $form_font_color;
        font-size: 16px;
    }
}